Fix Eshell handling of remote files like "/ssh:remote:~/file.txt"
authorJim Porter <jporterbugs@gmail.com>
Sun, 5 May 2024 20:09:08 +0000 (13:09 -0700)
committerJim Porter <jporterbugs@gmail.com>
Sun, 5 May 2024 20:21:55 +0000 (13:21 -0700)
commit1529ad0315f8d4a96ca07969c1c91c1c50bb6075
tree71a648b495d91485b4ca26c91ee3a4d98ce5dfa8
parent451863adf942bf4e3c1b9346c0f37e546e16b1fd
Fix Eshell handling of remote files like "/ssh:remote:~/file.txt"

* lisp/eshell/em-glob.el (eshell-glob-convert): Use 'concat' instead of
'file-name-concat' to avoid extraneous slashes.
(eshell-extended-glob): Bail out if we didn't find a glob after all.

* test/lisp/eshell/em-glob-tests.el (tramp): Require.
(em-glob-test/convert/remote-start-directory): Use the mock remote
connection.
(em-glob-test/remote-user-directory): New test.
lisp/eshell/em-glob.el
test/lisp/eshell/em-glob-tests.el